using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace dfp_1._1.clases
{
    public partial class tabAreaTrabajo : TabControl
    {
        public tabAreaTrabajo()
        {            
            InitializeComponent();
        }

        protected override void OnPaint(PaintEventArgs pe)
        {
            // TODO: Add custom paint code here

            // Calling the base class OnPaint
            base.OnPaint(pe);
        }

        
       
        /// <summary>
        /// Muestra la barra de herramientas en el proyecto seleccionado
        /// </summary>
        /// <param name="pnlDiagramTools"></param>
        public void loadTools(clases.pnlDiagramaTools pnlDiagramTools)
        {
            this.pageDesign.Controls.Add(pnlDiagramTools);
            pnlDiagramTools.Dock = DockStyle.Top;
        }

              
        public pnlAreaDisenio getDesignArea()
        {
            return pnlDesign;
        }

        public TextBox getCodeArea()
        {
            return this.textCode;
        }

        private void textCode_TextChanged(object sender, EventArgs e)
        {

        }

        
        
    }
}
